#pragma once
#include "ThreadSafeBuffer.h"
#include <string.h>

using namespace std;

class Logger
{
public:
	Logger( int nBufferSize , wstring strLogFile );
	~Logger(void);
	bool WriteTraceInfo( wstring message );
	bool WriteErrorInfo( wstring message );
	bool WriteFatalInfo( wstring message );
private:
	ThreadSafeBuffer* m_pBuffer;
};

